<template>
	<view>
		<CustomGroup class="a" :whole="isWhole" @change="a">
			<Custombox class="b" value="a"></Custombox>
			<Custombox class="b" value="b"></Custombox>
			<Custombox class="b" value="c"></Custombox>
		</CustomGroup>
		<CustomGroup class="a" :whole="isWhole">
			<Custombox class="b" value="a"></Custombox>
			<Custombox class="b" value="b"></Custombox>
			<Custombox class="b" value="c"></Custombox>
		</CustomGroup>
		<view @click="checkStateValue"><Custombox class="all"></Custombox></view>
		
	</view>
</template>

<script>
	export default {
		data() {
			return {
				 isWhole:false
			}
		},
		methods: {
			a(value){
				console.log("all",value)
			}
		}
	}
</script>

<style>

</style>
